import React, { useState, useEffect } from 'react';

const BehaviorTest = () => {
  const initialState = {
    count:0,
    compnay:'alibaba'
  }
  const [state, setstate] = useState(initialState);
  return (
    <div>
      {state.count} <br/>
      {state.compnay}
    </div>
  );
}

export default BehaviorTest;
